package task1;

public class PhoneDemo {
    public static void main(String[] args) {
        Phone p1=new Phone();

     //   p1.brand="大哥大";
       // p1.price=9999;
       // p1.color="black";
        p1.setBrand("大哥大");
        p1.setPrice(9998);
        p1.setColor("black");
        System.out.println("p1对象的属性为："+p1.getBrand()+"\t"
        +p1.getPrice()+"\t"+p1.getColor());
        



        p1.call();
        p1.game();
    }
}
